Implements the equality test operator so that two entities of the same type and with the same identifier are considered equal.

Namespace: Keystone.Carbonite
Assembly: Keystone.Carbonite (in Keystone.Carbonite.dll)

public static bool operator ==( 
StrongEntity<TId> leftEntity
StrongEntity<TId> rightEntity 
)
This language is not supported or no code example is available.

Parameters

leftEntity

Type: StrongEntity<TId>

The left entity.

rightEntity

Type: StrongEntity<TId>

The right entity.

Return Value

true if the two entities are of the same type and hold the same identifier, false otherwise.

Windows, Windows Server, OS X, macOS, iOS, tvOS, Android, Linux, AWS, Azure

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 4.6

Others

Xamarin, Mono